package com.pirestupppai.ui.activity;

import android.content.Context;
import android.text.TextUtils;
import android.view.View;

import com.pirestupppai.R;
import com.pirestupppai.base.BaseActivity;
import com.pirestupppai.widgets.view.TitleBar;

import butterknife.BindView;

/**
 * 融云聊天
 *
 * @author: xiaoluo
 * @date: 2017-04-14 10:49
 */
public class ConversationActivity extends BaseActivity {

    @BindView(R.id.conversation_title)
    TitleBar titleBar;

    private String mTitle;

    @Override
    protected Context getActivityContext() {
        return this;
    }

    @Override
    protected int loadParentLayout() {
        return R.layout.activity_conversation;
    }

    @Override
    protected void initViews() {
        mTitle = getIntent().getData().getQueryParameter("title");
        if (!TextUtils.isEmpty(mTitle)) {
            titleBar.setTitle(mTitle);
        }
    }

    @Override
    protected void initListeners() {

    }

    @Override
    protected void initLogic() {

    }

    @Override
    public void onClick(View v) {

    }
}
